<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>删除学生信息</title>
</head>
<body>
<form id="deleteForm" action="DeleteStudentServlet" method="post">
    <input type="hidden" name="stu_id" value="<%= request.getParameter("stu_id") %>">
</form>

<script>
    // 当页面加载完成后自动提交表单
    window.onload = function() {
        document.getElementById("deleteForm").submit();
    };
</script>

</body>
</html>
